<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>test</title>
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <style type="text/css">
       h1 {font-size:16px;}
       p {font-size:14px;text-indent: 20px;}
    </style>
  </head>
  <body>
    <h1>1:接口名称</h1>
    <p>任务完成上报<br/>
    </p>
    <h1>2:接口说明</h1>
    <p>/task/integral.do</p>
    <h1>3：接口测试</h1>
    <p>
    <form name="form1" id="form1" enctype="multipart/form-data" method="post"  >
	    task_type:<input type="text" name="task_type" value=""/> normal:常规成就任务 daily:日常任务<br/>
	    task_id:<input type="text" name="task_id" value=""/> 任务id <br/>
	    <input type="button" value="submit" onclick='exe()'>
	</form>


	<br/>
    </p>
    
    <h1>4：接口返回</h1>
    <p>
    <div id="backJson">
     加载中...
    </div>
    <h1>任务类型枚举</h1>
    <div>
		normal常规任务类型:<br/>
		&nbsp;&nbsp;&nbsp;    pet_add("pet_add","宠物添加",20,1),<br/>
		&nbsp;&nbsp;&nbsp;	view_product("view_product","浏览商品",20,1),<br/>
		&nbsp;&nbsp;&nbsp;	view_article("view_article","浏览文章",20,1),<br/>
		&nbsp;&nbsp;&nbsp;	share_app("share_app","分享app",20,1),<br/>
		&nbsp;&nbsp;&nbsp;	share_miss("share_miss","分享失踪宠物",20,1),<br/>
		&nbsp;&nbsp;&nbsp;	share_adopt("share_adopt","分享领养宠物",20,1),<br/>
		&nbsp;&nbsp;&nbsp;	vote("vote","发布投票",20,1),<br/>
		&nbsp;&nbsp;&nbsp;	request("request","发布问答",20,1),<br/>
		&nbsp;&nbsp;&nbsp;	answer("answer","回答3次",20,1),<br/>
		&nbsp;&nbsp;&nbsp;	share_product("share_product","分享商品",20,1);<br/>
		daily日常任务类型:<br>
		&nbsp;&nbsp;&nbsp;  login("login","每日登陆",20,1),<br/>
		&nbsp;&nbsp;&nbsp;	share_request("share_request","分享问答",20,1),<br/>
		&nbsp;&nbsp;&nbsp;	share_article("share_article","分享文章",20,1),<br/>
		&nbsp;&nbsp;&nbsp;	timeline_add("timeline_add","添加timeline",20,1);<br/>
	</div>
    
    <br/>
    
    </p>
  </body>
</html>
<script type="text/javascript" src="/js/xhr.js"></script>
<script type="text/javascript" src="/js/cactus.js"></script>
<script>
    function exe(){
           Demo.execute("../task/integral.do",document.forms["form1"]);
    }
    exe();
</script>
